Revert Oneplus Device to stock ROM on Windows PC
Caution: These instructions are only for Windows PC users.
Tip: The installation will wipe all data on your phone. Take necessary backups of your data if required.
Assumptions
- The user can’t reboot to recovery or fastboot.
 
Downloads
- OnePlus EDL ROM
    
 
Warning: Ensure you download the latest stock ROM build specific to your country or location. 
Steps
- 
    
Extract the zip.
 - 
    
Launch
MsmDownloadToolexe from the extracted zip. - 
    
Set the
usertype asOther. - 
    
Choose your variant from the
Targetbox next toEnumbutton on the top left corner. - 
    
Plug in your phone.
 - 
    
Click
start(So your device gets captured once its in EDL mode). - 
    
Click on the volume buttons and the power button at the same time.
 - 
    
Once the phone starts flashing leave the buttons and be careful not to unplug the device until flashing is done.
 - 
    
After the flashing process is done your device will reboot, and your bootloader will be locked.